www.mxdraw.com
|
设置标注属性的实数类型变量值
[helpstring("method SetDimVarDouble")] HRESULT SetDimVarDouble([in] LONG iType, [in] DOUBLE dValue);
参数 |
说明 |
[in] LONG iType |
该属性的类形值 |
dVal |
设置的值 |
例如: 设置标注文字高度,把文字调度设置成100. 140是属性类型,它代表文字高度属性.
Int64 id = axMxDrawX1.DrawDimAligned(0,4000,300,4500,150,4600); MxDrawDimAligned dim = (MxDrawDimAligned)axMxDrawX1.ObjectIdToObject(id); dim.SetDimVarDouble(140, 100); dim.RecomputeDimBlock(true);